package com.gzyj.flink.dto.alarm;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Kafka_VehicleRoadLevelAlarm implements Serializable {

    /// <summary>
    /// 车辆GUID
    /// </summary>
    private String VehId;

    private Long deptId;

    /// <summary>
    /// 车牌号码
    /// </summary>
    private String VehNo;
    /// <summary>
    /// 车牌颜色
    /// </summary>
    private String PlateColor;
    /// <summary>
    /// 报警标志 1开始报警 0结束报警
    /// </summary>
    private int AlarmFlag;
    /// <summary>
    /// GPS时间，开始报警和结束报警都会传GPS时间
    /// </summary>
    private String Time;
    /// <summary>
    /// 报警内容，开始报警和结束报警都会传报警内容,结束报警时候可以忽略该字段
    /// </summary>
    private String Note;
    /// <summary>
    /// 经度
    /// </summary>
    private double longitude;
    /// <summary>
    /// 纬度
    /// </summary>
    private double latitude;
    /// <summary>
    /// 速度
    /// </summary>
    private double Velocity;
    /// <summary>
    /// 报警开始时间
    /// </summary>
    private Date AlarmBeginTime;
    /// <summary>
    /// 报警结束时间
    /// </summary>
    private Date AlarmEndTime;
    /// <summary>
    /// 报警持续时间
    /// </summary>
    private long AlarmTimeSpan;
    /// <summary>
    /// 报警持续最大速度
    /// </summary>
    private double MaxSpeed;
    /// <summary>
    /// 报警持续里程
    /// </summary>
    private double Distance;
    /// <summary>
    /// 报警持续最后一个位置的经度
    /// </summary>
    private double lastlongitude;
    /// <summary>
    /// 报警持续最后一个位置的纬度
    /// </summary>
    private double lastlatitude;
    /// <summary>
    /// 角度
    /// </summary>
    private int Angle;
    /// <summary>
    /// 定位标志
    /// </summary>
    private int Local;
    /// <summary>
    /// 限速值,为终端自带的限速值，可以忽略
    /// </summary>
    private int Limited;
    /// <summary>
    /// 道路等级
    /// </summary>
    private String RoadLevel;
    /// <summary>
    /// 道路限速
    /// </summary>
    private int RoadLimited;
    /// <summary>
    /// 道路名称
    /// </summary>
    private String RoadName;

    /// <summary>
    /// 报警的GUID
    /// </summary>
    private String AlarmGuid;


    /// <summary>
    /// 报警等级
    /// </summary>
    private int AlarmLevel;

    /// <summary>
    /// 0报警推送，1报警等级变更
    /// </summary>
    private int AlarmModel;
    /// <summary>
    /// 登签驾驶员
    /// </summary>
    private String Driver;
    /// <summary>
    /// 登签驾驶员身份证
    /// </summary>
    private String DriverNo;
    /// <summary>
    /// 从资格证
    /// </summary>
    private String QualificationCode;
    /// <summary>
    /// 1默认规则 2=5级规则 3=新疆出租车 4=新疆营运车
    /// </summary>
    private int AlarmSetting = 0;

    private String kafkaFlag;

}
